package com.yuanqi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "test-provider", path = "/test")
public interface TestFeignService {

    @RequestMapping("/useradd/{id}")
    String useradd(@PathVariable("id") Integer id);

}
